package p270jp.pxv.android.model.point;

import android.support.p024v4.media.C0261e;
import p325m0.MutabilityOwnership;

/* compiled from: PerServiceBalance.kt */
/* renamed from: jp.pxv.android.model.point.PerServiceBalance */
/* loaded from: classes2.dex */
public final class PerServiceBalance {
    public static final int $stable = 0;
    private final long balance;
    private final boolean isUsageLimited;
    private final PpointService service;

    public PerServiceBalance(long j, boolean z, PpointService ppointService) {
        MutabilityOwnership.m3745m(ppointService, "service");
        this.balance = j;
        this.isUsageLimited = z;
        this.service = ppointService;
    }

    public static /* synthetic */ PerServiceBalance copy$default(PerServiceBalance perServiceBalance, long j, boolean z, PpointService ppointService, int i, Object obj) {
        if ((i & 1) != 0) {
            j = perServiceBalance.balance;
        }
        if ((i & 2) != 0) {
            z = perServiceBalance.isUsageLimited;
        }
        if ((i & 4) != 0) {
            ppointService = perServiceBalance.service;
        }
        return perServiceBalance.copy(j, z, ppointService);
    }

    public final long component1() {
        return this.balance;
    }

    public final boolean component2() {
        return this.isUsageLimited;
    }

    public final PpointService component3() {
        return this.service;
    }

    public final PerServiceBalance copy(long j, boolean z, PpointService ppointService) {
        MutabilityOwnership.m3745m(ppointService, "service");
        return new PerServiceBalance(j, z, ppointService);
    }

    public boolean equals(Object obj) {
        if (this == obj) {
            return true;
        }
        if (!(obj instanceof PerServiceBalance)) {
            return false;
        }
        PerServiceBalance perServiceBalance = (PerServiceBalance) obj;
        return this.balance == perServiceBalance.balance && this.isUsageLimited == perServiceBalance.isUsageLimited && MutabilityOwnership.m3749h(this.service, perServiceBalance.service);
    }

    public final long getBalance() {
        return this.balance;
    }

    public final PpointService getService() {
        return this.service;
    }

    public int hashCode() {
        long j = this.balance;
        int i = ((int) (j ^ (j >>> 32))) * 31;
        boolean z = this.isUsageLimited;
        if (z) {
            z = true;
        }
        int i2 = z ? 1 : 0;
        int i3 = z ? 1 : 0;
        int i4 = z ? 1 : 0;
        return this.service.hashCode() + ((i + i2) * 31);
    }

    public final boolean isUsageLimited() {
        return this.isUsageLimited;
    }

    public String toString() {
        StringBuilder c = C0261e.m12042c("PerServiceBalance(balance=");
        c.append(this.balance);
        c.append(", isUsageLimited=");
        c.append(this.isUsageLimited);
        c.append(", service=");
        c.append(this.service);
        c.append(')');
        return c.toString();
    }
}
